package com.moxiao.yfjh.module.activity.convert.activityInfo;

import java.util.*;

import com.moxiao.yfjh.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.moxiao.yfjh.module.activity.controller.admin.activityInfo.vo.*;
import com.moxiao.yfjh.module.activity.dal.dataobject.activityInfo.ActivityInfoDO;

/**
 * 相亲活动信息 Convert
 *
 * @author mx
 */
@Mapper
public interface ActivityInfoConvert {

    ActivityInfoConvert INSTANCE = Mappers.getMapper(ActivityInfoConvert.class);

    ActivityInfoDO convert(ActivityInfoCreateReqVO bean);

    ActivityInfoDO convert(ActivityInfoUpdateReqVO bean);

    ActivityInfoRespVO convert(ActivityInfoDO bean);

    List<ActivityInfoRespVO> convertList(List<ActivityInfoDO> list);

    PageResult<ActivityInfoRespVO> convertPage(PageResult<ActivityInfoDO> page);

    List<ActivityInfoExcelVO> convertList02(List<ActivityInfoDO> list);

}
